<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:75:"D:\myphp\PHPTutorial\WWW\fresher\conf/../template/admin\rider_showedit.html";i:1534903020;s:74:"D:\myphp\PHPTutorial\WWW\fresher\conf/../template/admin\common_header.html";i:1534901852;s:74:"D:\myphp\PHPTutorial\WWW\fresher\conf/../template/admin\common_footer.html";i:1534140541;}*/ ?>
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="__HLIB__html5shiv.js"></script>
<script type="text/javascript" src="__HLIB__respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__HLIB__Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="__HLIB__DD_belatedPNG_0.0.8a-min.js" ></script>

<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<style>
    #edui1_bottombar{
        display: none;
    }
</style>
    <title>添加骑手</title>
    <style>
        .red{
            border: 1px solid red;
        }
    </style>
</head>
<body>
<div class="page-container">
    <form class="form form-horizontal" id="form-article-add" enctype="multipart/form-data" method="post" action="<?php echo url('edit'); ?>">
        <input type="hidden" name="id" value="<?php echo $data['id']; ?>">
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1"><span class="c-red">*</span>骑手账号：</label>
            <div class="formControls col-xs-6">
                <input type="text" class="input-text" value="<?php echo $data['username']; ?>"  placeholder="请输入骑手账号"  name="username" datatype="*" nullmsg="骑手账号不能为空" maxlength="11">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1"><span class="c-red">*</span>真实姓名：</label>
            <div class="formControls col-xs-6">
                <input type="text" class="input-text"  name="realname" datatype="*"  value="<?php echo $data['realname']; ?>" placeholder="请输入真实姓名"  nullmsg="请输入真实姓名" maxlength="11">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1">骑手头像：</label>
            <div class="formControls col-xs-6">
                <input type="file" class="input-text" value="" placeholder="" id="articletitle2" name="coverFile">
            </div>
            <?php if($data['cover']): ?>
            已上传，<a href="javascript:void(0);"  onclick="previewPictures('__UPLOADS__'+'<?php echo $data['cover']; ?>')" style="color: red;text-decoration: none;">预览</a>
            <?php endif; ?>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1"><span class="c-red">*</span>手机号：</label>
            <div class="formControls col-xs-6">
                <input type="text" class="input-text" value="<?php echo $data['phone']; ?>"  name="phone" placeholder="请输入11位手机号"  datatype="m" nullmsg="请输入手机号" errormsg="请输入正确的11位手机号" maxlength="11">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-xs-offset-1">配送区域：</label>
            <div class="formControls col-xs-6">
                <textarea name="deliver_region" cols="" rows="" class="textarea"  placeholder="请输入骑手的配送区域"><?php echo $data['deliver_region']; ?></textarea>
            </div>
        </div>
        <div class="row cl pc-20">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</div>
</div>
</body>
<script type="text/javascript" src="__HLIB__jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__HLIB__layer/2.4/layer.js"></script>
<script type="text/javascript" src="__HSTATIC__h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__HSTATIC__h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__HLIB__laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="__HLIB__Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="__HLIB__layer/2.4/layer.js"></script>
<script type="text/javascript" src="__HSTATIC__h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__AJS__common.js"></script>
<script type="text/javascript" src="__HLIB__ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="__HLIB__ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" src="__HLIB__ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="__HLIB__My97DatePicker/4.8/WdatePicker.js"></script>
</html>